package com.bwie.common.constants;

/**
 * @description: 系统常量
 * @author DongZl
 */
public class Constants {
    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;
    public static final String SUCCESS_MSG = "操作成功";
    /**
     * 失败标记
     */
    public static final Integer ERROR = 500;
    public static final String ERROR_MSG = "操作异常";
    /**
     * 业务异常
     */
    public static final Integer LOGIN_SELECT_ERROR_CODE = 1001;
    public static final String LOGIN_SELECT_ERROR_MSG = "登录查询用户信息失败，服务武器繁忙，请稍候再试……";
    public static final Integer LOGIN_USER_NOT_EXIST_CODE = 1002;
    public static final String LOGIN_USER_NOT_EXIST_MSG = "该用户未注册";
    public static final Integer USER_LOCK_EXITS_CODE = 1003;
    public static final String USER_LOCK_EXITS_MSG = "该用户已锁定，请一天后在进行登录";
    public static final Integer LOGIN_PWD_ERROR_CODE = 1004;
    public static final String LOGIN_PWD_ERROR_MSG = "您输入的密码错误，请重新输入";
    public static final Integer IMPORT_DATA_EMPTY_ERROR_CODE = 1005;
    public static final String IMPORT_DATA_EMPTY_ERROR_MSG = "导入数据为空";
    public static final Integer USER_IS__NULL_CODE = 1006;
    public static final String USER_IS__NULL_MSG = "请先登录";
    public static final Integer IMPORT_IS_EMPTY_ERROR_CODE = 1007;
    public static final String IMPORT_IS_EMPTY_ERROR_MSG = "导入数据为空";
    public static final Integer IMPORT_TITLE_ERROR_CODE = 1008;
    public static final String IMPORT_TITLE_ERROR_MSG = "题名不为空";
    public static final Integer IMPORT_SUBJECT_ERROR_CODE = 1009;
    public static final String IMPORT_SUBJECT_ERROR_MSG = "学科不为空";
    public static final Integer IMPORT_PUB_YEAR_ERROR_CODE = 1010;
    public static final String IMPORT_PUB_YEAR_ERROR_MSG = "出版年不为空";
    public static final Integer IMPRORT_ERROR_CODE = 1011;
    public static final String IMPRORT_ERROR_MSG = "导入失败";
}
